home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 008a / pc_cnvrt.zip / CONVERT.TXT < prev   
Text File  |  1991-11-08  |  3KB  |  65 lines

  1. Lawrence Software
  2. P.O. Box 1002
  3. Smithville, Texas 78957
  4.  
  5. PC-Convert is a self documented program which converts Engineering Units from
  6. one form to another.  It takes command line input (arguments), checks input for
  7. acceptability, and makes a conversion if possible.
  8.  
  9. Syntax:   convert <value> <unit> <precision>
  10.  
  11.                   <value> is any real number
  12.  
  13.                           <unit> is any available unit
  14.  
  15.                                  <precision> is an integer number
  16.  
  17. See the following paragraphs for an explanation of the command line arguments.
  18.  
  19. VALUE:  The first command line argument can be any real number, positive or
  20. negative.  PC-Convert will treat your input as a Pascal double precision
  21. number.  Keep in mind the desired accuracy of your answer, ie., if two decimal
  22. place accuracy is acceptable in your answer, then five decimal place input is
  23. not necessary.
  24.  
  25. UNITS:  The second command line argument.  For a list of available units,
  26. enter "convert" without command line arguments.  A list of available units is
  27. provided with their correct abbreviations.  The available units for this
  28. ShareWare version number only thirty.
  29.  
  30. PRECISION:  The third command line argument is optional, and the default is
  31. four, (4).  If, by a combination of a large input value and/or a high requested
  32. precision, the result length exceeds the display capacity, an error message
  33. will be presented.
  34.  
  35. In summary the following is a valid input:   convert 100 psi 5
  36.  
  37. If the preceding command is entered, PC-Convert will convert 100 pounds per
  38. square inch to various other units with the result presented to five decimal
  39. place accuracy, (rounded off to the fifth decimal place).
  40.  
  41. Effort has been made to disallow and correct improper input.  For example, if
  42. you try to convert -15 psi, the program will reject the -15 and use -14.69595
  43. which is the largest negative value possible in this case.
  44.  
  45. Conversion factors were chosen from several sources.  One thing learned while
  46. doing research for this program was the variance in conversion factors from
  47. source to source.  Also, several errors were found and corrected in the beta
  48. version.  User comments and suggestions are welcomed.
  49.  
  50. For instant access to this program using a hard disk, the program file,
  51. convert.exe, should be placed in a directory which is in your path.  My
  52. philosophy is to place all single file utility programs of this type and all
  53. program batch files in one directory.  My path statement is set to this
  54. directory and this directory ONLY.  I call it "BIN", (for BINary).  This is the
  55. proven UNIX method.  I have instant access, (from anywhere on the hard disk or
  56. floppies) to this program, to all other useful utilities, and to all
  57. application programs (via my program batch files).
  58.  
  59. Finally, I am at a loss to set a value on registration.  This program will be
  60. growing.  My intent is to keep the registration cost nominal but commensurate
  61. with the state of development.  If you find this program useful, please contact
  62. me regarding registration.  Special versions are possible for your application.
  63. This program may be distributed and copied freely so long as it is not modified
  64. and this text file accompanies the executable file.
  65.